package com.dataseek.iot.toolkit.auth.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.dataseek.iot.toolkit.mybatis.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;
@Data
public class SysUser extends BaseEntity implements Serializable {
    @TableId
    @TableField(value="user_id")
    private Long userId;

    //租户编码
    @TableField(value = "tenant_code")
    private String tenantCode;

    //用户名
    @TableField(value="user_name")
    private String userName;

    //密码
    @TableField(value = "user_password")
    private String password;

    @TableField(value = "telephone")
    private String telephone;
    @TableField(value = "email")
    private String email;
    private String status;
    @TableField(value = "user_type")
    private String userType;
}
